rewrite extendU