adds association to models