the spinner now functions