corrected for null passengers