solution for assoc1