I have added the comments as we discussed

added comments