separated treatments from game.logic