create basic filter logic - need to make abstract and add more filters