Add pubic and private func for server button