Changed tree->ptr to filter