made a few minor changes