added multi scenegraph support