Forgot to make the altitude parameter variable.
Best would be to use a global variable where the user could set the altitude.