changed start and end for associate and nonAssociate in models