adding error info