added duration to individual frames