import NodeList for check
add check for append after last delete
implemented appendChild