make db works part3
make db works part4