implemented where, pluck, and invoke