modification for Macbook