continue moving node functionality into the environment interface. function names need making consistent etc.