adding association to factories