correct example code