Changed the success condition