Created a separate generateEnemies method