added the template for dbconnect