added limit to 50000 in the deal call