improved addr set method