made a few corrections