Adding template for code