Spinner code snippets (2)