minor changes, comments added