updated basicspawner