porting addget from local