delete and return