confirmation string builder function