adding the spinner