adding hacky foreign key