Modified Ex-4 to add comments