Oops, I use tabs for indentation and you're using spaces.  Should have caught that.