before changing game logic