rewrote node and hashamp