Correctly return success flag