add function invocation pattern
add function invocation pattern