next table is now searched by id and not by referencing the whole object