formatting begins