raise insead of returning None