WIP use relation to resolve references