index2 sample tutorial clip