edit apioSetup to take address as input