adding real db access