comments added
minor changes