assignedTxt now get value from other node types. #12
added some logs for errors