adding contingencies for missing or unset hours