Few more comments added into the code