add total value to side-bar