use timestamp type
rename subnode->swnode