moving towards a working histogram