flexibility with the number of frames