setup spinner