should be ValueError (I think)