changed functions

simplified some, changed others to accommodate for future uses for new
node constructor requirements