refactored datestring conversion
refactored stress score calculation