Commented all necessary lines

Non-commented lines are self-explanatory