copied template to controllers