moved rels transformations to sdef