added pa1
simplified assoc