modification to flowchart for invoke_constructors