using time instead of date
refactoring for 2nd parse
adjust conditions limits
adding test for emergency_over_time?