add memory tracing, rename function name style