adding support for direct hex vals