suspend config function,provide function to get private variable