made chance a float, instead of a string