addded example for advice with parameters