Added template. Minor tweaking.