#13 add support for bidirectional relationships