working on DOF tree