spinner in main