A.write formatting