added some corrections