Stage 1 of formatting