adds boolean filter