db interface skel