added getter for altitude