added basic way to send messages