Bringing plant back from the brink of extinction