adding announcement code