improve game flow