refactor hours remainder method with .abs