added moving frames, concept of multiple root frames