added limit to the queries