Updating example code;