some minor changes made
some minor changes made