ask the number of sides each time
little change
final version