added call to setFrameLimit