 An example occurs in the first movement of Haydn's Piano Sonata Hob.XVI-23.Occasionally, especially in some Romantic works, the sonata form extends only as far as the end of the exposition, at which point the piece transitions directly into the next movement instead of a development section.