added comments in code.