new hex encoding and lookup map for attribute names implemented