Add second constructor to NeedGen