Formatting of the reg output