add mag DUID # MAC functions