add working code snippets to setup page