before pilot