formatting sonata modeules