Adding some comments and reformatting (160 characters per line instead of 80)