first attempt to add filter functionnality