refactors timing code to use Time objects instead of bear millisecond values