completed tut up to section "talking to the server"