minor changes and comment added