initial work for spawner loop