I should reuse loadDb mechanism in next commit