frameprogress = 0; index = 0;