Init struct if nil encountered