Adding a code snippet