Replaced tabs with spaced and added some missing whitespace