Added template from tutorial