small modifications and comments.