declare limit and order_by before testing their value