change default behavior to raise an exception