Add more comments into code to understand code.