final HW4, farmee v2 working