renamed manage event to wait