formatting ex2