generate associations, need to correct duplication checking