added relations

@sshihata  merge.