changed visibility of variables