Various simulation conditions
moved old code