code comments mistakes corrected
master task 2 implemented