add Mac OS X pattern