added SpawnObject