working on getting the right histo when calling  Xray.q_C%X
updated for PEP8 style
 PEP8 style + fixing issue #11