swapped part association code to work more like category associations