working on hours functions, not fully working yet.