Wrote the 5-2 formation loading function.