log.c just for fun