add filtering for grid