added basic implementation of pluck