plotting upgrades
finish histogram plot