added corrections as discussed