finished db module