Looks like the case statements indented too far in?