game logic working again!