added charting capabillities