working spinner iteration 1