move to using chrono