modifications on betting and name setting