adding hex port decoding