Might be easier to deal with an array of hex pairs