updated with URI.encode & no input message