change map method into pluck