wip: relation adapter implementation