added bargraph stuff