debging setbet..py