adding edit-game functionality