Code snippets for debugging