added %x and %X