use the frames count established in createImages