adjusted the annoucetask method