refactored instance variable