Because of the nature and the cost of a D check, most airlines — especially those with a large fleet — have to plan D checks for their aircraft years in advance. Often, older aircraft being phased out of a particular airline's fleet are either stored or scrapped upon reaching their next D check, due to the high costs involved in comparison to the aircraft's value.[12] On average, a commercial aircraft undergoes two or three D checks before being retired.[13]