Made changes to determine when passenger enters the plane