restructuring Attribute tracker; still to implement several decodings