Got rid of game loop