cube spawner prototype