Whitespaces should be cleaned up. There is a mixture of spaces and tabs. The indents should be improved as well.