further implementation of game controller