db module basic functions OK