Progenitors of type Ia supernovae