add filtering by selection