The Deucalion legend as told by the Bibliotheca has some similarity to other deluge myths such as the Epic of Gilgamesh and the story of Noah's Ark. The Titan Prometheus advised his son Deucalion to build a chest. All other men perished except for a few who escaped to high mountains. The mountains in Thessaly were parted, and all the world beyond the Isthmus and Peloponnese was overwhelmed. Deucalion and his wife Pyrrha, after floating in the chest for nine days and nights, landed on Parnassus. An older version of the story told by Hellanicus has Deucalion's ark landing on Mount Othrys in Thessaly. Another account has him landing on a peak, probably Phouka, in Argolis, later called Nemea. When the rains ceased, he sacrificed to Zeus. Then, at the bidding of Zeus, he threw stones behind him, and they became men, and the stones Pyrrha threw became women. The Bibliotheca gives this as an etymology for Greek (, 'people') as derived from ('stone'). The Megarians told that Megarus, son of Zeus and a Sithnid nymph, escaped Deucalion's flood by swimming to the top of Mount Gerania, guided by the cries of cranes.