Changes made to the preTaxiCheck function.