readme code example was wrong for client()