added timeUtils.c