add support for hex specification
fix bug in transform from typo
add examples