created a type exception