logic edits for statuses
Merge pull request #100 from apatel/master

logic edits for statuses