added atomic switch model with strange results