Added equity code