MOD: complete canvas class