added MAC version
added MAC version