now with appendchild call