have the canvas api working