added filter based on search