using initData instead of m0