Add WHEX implemenation