Try conditional assignment