renamed main2 to gameBoard