Seems to work, BUT main has pointer to old object, not new one...