On farm research for minimizing risk in rainfed agriculture