It was found that plants comprising modified CENPC protein comprising one or more active mutations which affect the functioning of CENPC protein yet allow plants expressing said modified CENPC protein to be viable, are able to induce haploid offspring after a cross to or with a wild type plant comprising a endogenous CENPC protein. The invention relates to generation of haploid and doubled haploid plants.