Changed the visibility of variables