Formatting

Adding comments and formatting