Added time util
Merge branch 'stats'