simplify the tainting phase