function myCanvas added for print and save