Added some functionality to Hours class