basic sender protocol