adding an error