added node experiment
a little refactoring
python one is working as it should