How does DBM work?