Fix example for completed function