new onComplete option