started working on histogram