Integrated designs for comments, compare, added historgram code