add commentary and replace tabs with spaces