major changes in itemspawner