Sonata formatter