improve adding spinner