added returns histogram wrapper