How to return a Hex