removed time library dependancy