simplify node and implement pop