added some minor changes and notes