removed time.h imports