I'm not sure if you want to return 1 here. Wouldn't that mean it would return 1 even if all succeeded?