latched out solution without parent ref