removed unused variables in gameController