Fixed code snippet sample