added input deletion warning and -k info