code re-formatting