Implements message sending