Few more comments added.
Local variable renamed,changed.
Comment changed