renamed some variables
removed obj variable
renamed a variable and removed comments
 renamed textelement
can move both node