map the invokes and returns template back to the invokes and returns statement