created template for editing