rename delete->remove due to function naming conflict