generating work hours