apply best practice on game manager
Grid Server Best Practice
keyboard best practice
move the function down after data