add the feature that checks for wrong input for sender