added framerate validation