added demo for pirate 3D