Modified hours and added basic main calling