improve doc with Exit funconality