added sample code for overwriting templates