Change public member variable to private