working on build scenegraph