updated to add the correct current time