local extract infi loop