added AppleStock problem solution