use relation to resolve references

.tableInfo without the get* looks like a setter in this case, would stick with get*