added initial automated client code