Remove use of state (not needed)
Remove debugger