database interface v1.0