added boolean + callback filter