working on input

getting input from server