determine associativity