return removed function