hiding instance variables - refactoring;
renaming main class