a java client that works