Same as above, avoid regetting the time on each function call.