created template db