before integrating remote db