added bunch of stuff for node