rework python module
added histo