adding spinner template