added sending messages automatically