add two stage tasks