added customs exceptions