Introduce FramesPerFrame varliable