Working
Removed previous state from function signature