add onCompletion process