make it work with scopes and filters