integrating stalk into histogram script