refactored Insert Farmer method.