remade attribute extraction