update client code. it works now!