actually, this should use a url encoder.