The indentation here is wrong; maybe your editor is mixing tabs and spaces?