experiments 1 and 3 in puthon, showFrameIndex added