Add some comments in functions