`weight` would probably be a better name for this variable, since it does not store multiple weights. Also, there is no need to interpolate the random number inside a string (if you just want it to be a string instead of a number, calling `.to_s` will do that).