how about wrapping the whole method instead of just this part ?