add db interaction 2