added frame limiter