wrapper is now added dynamically, new element takes on all attributes of original element