Ptolemy's Almagest is the only surviving comprehensive ancient treatise on astronomy. Babylonian astronomers had developed arithmetical techniques for calculating astronomical phenomena; Greek astronomers such as Hipparchus had produced geometric Models for calculating celestial motions. Ptolemy, however, claimed to have derived his geometrical Models from selected astronomical observations by his predecessors spanning more than 800 years, though astronomers have for centuries suspected that his models' parameters were adopted independently of observations. Ptolemy presented his astronomical Models in convenient tables, which could be used to compute the Future or past position of the planets. The Almagest also contains a star catalogue, which is a version of a catalogue created by Hipparchus. Its list of forty-eight constellations is ancestral to the modern system of constellations, but unlike the modern system they did not cover the whole sky (only the sky Hipparchus could see). Across Europe, the Middle East and North Africa in the Medieval period, it was the authoritative text on astronomy, with its author becoming an almost mythical figure, called Ptolemy, King of Alexandria. The Almagest was preserved, like most of extant Classical Greek science, in Arabic manuscripts (hence its familiar name). Because of its reputation, it was widely sought and was translated twice into Latin in the 12th century, once in Sicily and again in Spain. Ptolemy's model, like those of his predecessors, was geocentric and was almost universally accepted until the appearance of simpler heliocentric Models during the scientific revolution.