implemented message sending in Application1a