Use references instead of deep copying the strings