new snippets for background and main thread blocks