created link table models