added template for db items