use mac address as the unique id