implement inverse relation