template and canvas added.