don't replace "extend", use "extendext" instead