checking associations