automatic prettify
restructuring