implementing characters nodes. Need to add handling for empty elements still