started writing client code