Dynamic initialization v2