refactoring -- create best time view