new feature adjust time in hours and package refactoring