towards DB integration