Added basic nodes logic.