pi client working