Added the predicate to filter the array and display the value