created a template for the database