added the air logic