Uses constants for db names instead of variable strings