start to rewrite bfconvert wrap in python to get easier intelligence in it