template for adding data