code re-format