Modified Node class