added SpawnParams