added support for data qualities over an interval... first attempt to add change detector