start of alterations to have related models