[un] removed previous index view and renamed method view to index