updated array map to output hex