simulation pipeline