Code Formatting, adding doc