better define sectionIndex and videoIndex