import the remove leave feature