made pluck distribute, added tests