add db encapsulation 10%