middle of refactoring
refactored
stops game