Commented lines#38-40 , and added =0 in line#41. So now it complies and works fine