Restructured main