Adjusted from datetime.datetime.now() to time.time()