maingameviewcontroller work