creating scene graph