Fixed example code