some refactoring in the simulate ns to simplify some bits ahead of changing it all around