Genesis code snippets