removed call to time()