Delete extract func