now exporting quadError