Are you using tabs or spaces to indent? This doesn't look right.