handle assignment in condition