farm class; added height and width
minor fixes