made some corrections according to the review