added support for reading hex literals