added features of relationship-inverse