added delay to game loop--whoops