now possible to send messages from gui