Added sendStandardMessage function