related & manyRelated macro