restructures user input message