add createScene function