replaced all tabs with spaces, some formatting