Fix example: use extend not create