As an additional cost to cast this spell, sacrifice a creature. Search your library for a card, put that card into your hand, then shuffle.
Gix pierced his disciples' minds and savored their experiences as he took in their knowledge.