added stage 3 (sequence)