let encodeURIComponent() do my work for me