Added some farm functions