refactored GameContainer