pre-formatting