integrator working but not connected to model
integrator connected with model
integrator now works