record time at the right place