fixed Client example