db resource close code
db method add