grid addition and filtering