special logic for string variables