code indentation and some comments