working on game controller
removed debug code