added check for already mutated value