changing conditioning on string