flavorText: Chainer dreams of ultimate knowledge.
name: Insidious Dreams
originalText: As an additional cost to play Insidious Dreams, discard X cards from your hand.
  Search your library for X cards. Then shuffle your library and put those cards on top of it in any order.
printings: TOR
text: As an additional cost to cast this spell, discard X cards.
  Search your library for X cards, then shuffle and put those cards on top in any order.
type: Instant