refactored getModifiedState
clean up
refactored accModifiedState