Add condition where cas fails