add a function set to handle urlencode