adding spinner