add support for hex code;