db and interface