Fixed code snippet.