added query limiter