add function to get private value in internal class Client