refactoring business times and stuff