added more filtering algorithms