Added event onComplete