add private property canvas and context