unused commented code removed from Exit