added 'add DB data' function (not tested GetIn and GetOut)