migrate to new init