modified find to accept limit