why isn't this just a foreign key?