add listDelete in the header file