work hour calc and payment calc