finished interfacing with game