working on coordinates and node plotting