added code to better track subsidy and best shares