trying to figure out how to create spinner