updated example client