setup relation between models