print top level method invocations