lastViewIndex added