As Tim Cook announces his departure from the top job at Apple, these are the key challenges for new boss John Ternus.

Cook has been Apple’s CEO for nearly 15 years.

Apple announced Tim Cook will become executive chairman of Apple’s board of directors and John Ternus will become Apple’s next CEO.