inlining initial map flow