completed model and relationship