create total hours field