removed unused variable from function prototypes in template.rs