Why does ````frame_length```` start at 3 here?