Fixed the flow: compilation - instantiation