Changed pluck function