add complete / fail events