made a few final corrections