add functionality to new game button. working version