split out timetagger functions