simplify
fix appending to use cloneNode