updates after modification for macbook pro