new example, bug fix for canvas