reformatting. also replace tabs with spaces