TERMINATION CODE