Ancient Greek technology developed during the 5th century BC, continuing up to and including the Roman period, and beyond. Inventions that are credited to the ancient Greeks include the gear, screw, rotary mills, bronze casting techniques, water clock, water organ, the torsion catapult, the use of steam to operate some experimental machines and toys, and a chart to find prime numbers. Many of these inventions occurred late in the Greek period, often inspired by the need to improve weapons and tactics in war. However, peaceful uses are shown by their early development of the watermill, a device which pointed to further exploitation on a large scale under the Romans. They developed surveying and mathematics to an advanced state, and many of their technical advances were published by philosophers, like Archimedes and Heron.