updated using pluck and filterPluck