actually expose client api