made some slight corrections