Get histogram functionality added