#10 improvement: add target attribute anyway