Added example code snippet