The function of mountains