rename public_mac to mac; let's keep it simple