Added time.h to header