Generally a passenger with an electronic ticket will only need a boarding pass. If a passenger has a paper airline ticket, that ticket (or flight coupon) may be required to be attached to the boarding pass for him or her to board the aircraft. The paper boarding pass (and ticket, if any), or portions, are sometimes collected and counted for cross-check of passenger counts by gate agents, but more frequently are scanned (via barcode or magnetic strip). The standards for bar codes and magnetic stripes on boarding passes are published by IATA. The bar code standard (BCBP) defines the 2D bar code printed on paper boarding passes or sent to mobile phones for electronic boarding passes. The magnetic stripe standard (ATB2) expired in 2010. For 'connecting flights' there will be a boarding pass needed for each new flight (distinguished by a different flight number) regardless of whether a different aircraft is boarded.