change to private variables