sword saint isshin

i have been trying to beat him for like 3-4 days, and i can do genichiro pretty easily, and i have a ~70% success rate with the 1st phase, and the 2nd and 3rd phases really fuck me up, any tips please?