choose a creature type. reveal cards from the top of your library until you reveal x creature cards of the chosen type, where x is the number of creatures you control of that type. put those cards onto the battlefield, then shuffle the rest of the revealed cards into your library.