be sure to raise errors