Building the spinner