creating an error