use pointers for remove options