adding error