replaced .all with .pluck