a mechanical device with two buckets