replace  method event with stream