changed number of frames