fixed tab formatting and spacing for clearer code