Changed example code