fixing all linkages, about to get stock count working