added template and route