added hex conversion feature