hopefully nicer code snippets.