experimental retry code