changes to spawner