changing relationships to have 2 tables