Should be da->attr not da->type