extract node path generation to separate files
add variable