added clock.c