Change loop to have correct functionality when specifying new instance information