trying out 2d histrograms, debug