added spawnPeople method