implemented message alert system