working on game classs