Automated formatting