implemented SpinnerService