swapping out context to canvas