Use it in the InParallel statechange class