add the ability to get data from server.