refactoring Instance class to remove unused parameter