Result greater than 1 means error, we need to fail early and pass it to the caller