changed function name exit->del