add print statements before and after a method all excluding printf calls