Implementing nodes into grid.