using remote db