refactoring
move version outside of node