fixed a tab and added more comments