just wanted to prevent against any case where the function did not explicitly add a null char to the end.