Added comments. see next steps in line 128.