Implemented AA for method profiling