passing objects spawner