i tried to use
var mainMeasurements = MainMeasurements()
and
override func prepare(for segue: UIStoryboardSegue, sender: Any?)