adding template for further functions