some minor changes were added.