hoursRemain formula