added binary and hex conversion