Fix for incorrect example code