add sync result object
implement filtering on query