The indentation here looks like you are switching between spaces and tabs.