Add call sequence to subprograms