Managing on-farm risks