some more setup (game loop)