updated behaviour of game