Added altitude functionality