added initial setAttribute