how to created dict db