simulation setup