could use `rand(sides.to_i)`