added canvas to template direclty