added esay way to create spinner