adding raven_utilities.with_perseverance