add some helpers for interacting with the server
add helpers for interacting with the server (exercise 4)