remove and return