User can specify limit of query