added a join model