doing an error