updating example code since