compress formatting