made some corrections