inner and right relation