Updated to obtain first 10 frames