modified time.c