using new cmxcanvas API