Modified to invoke function call instead of passing parameters using rendezvous