#define LOG(format, ...) fprintf (stderr, "***" format "\n", __VA_ARGS__)