adding method for mac only and checks using new method