fixed missing import of time