Beginning document formatting