minor changes/comments added