I think "Doing so" would be better.