Added Template.R