Added spawnInterval