spinner in, adding functionality for state search