Add success helper and limit fail and success to their code ranges