corrected some minor changes