models relations are set