updated farm class