minor, some comments added