utilized underscore's pluck function