Some program snippets.