comment and fix code so that it fits within the 100 lines / 100 characters per line.