use after to insert a spinner