using raw string type instead of the crazy custom type
reworking hash to use the new basetype