Indentation is wrong here.  Make sure you're using spaces everywhere and not tab characters.